<template>
<div>
<el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/customer' }" style="font-size:18px">顾客管理</el-breadcrumb-item>
      <el-breadcrumb-item :to="{ path: '/unfinished_booking'}" style="font-size:18px">进行中的订单</el-breadcrumb-item>
      </el-breadcrumb>
          <div class="food">
            <el-table
            :data="tableData"
            height="575"
            border
            style="width: 100%">
            <el-table-column
                align="center"
                prop="date"
                label="日期"
                width="150">
            </el-table-column>
            <el-table-column
                align="center"
                prop="name"
                label="姓名"
                width="150">
            </el-table-column>
            <el-table-column
                align="center"
                prop="price"
                label="金额"
                width="150">
            </el-table-column>
            <el-table-column
                align="center"
                prop="content"
                label="内容"
                width="600">
            </el-table-column>
            <el-table-column label="操作" align="center" min-width="100">
                <el-button type="text" @click="pay">付款</el-button>
            </el-table-column>
            </el-table>
          </div>
</div>

</template>
 
<script>
export default {
  methods: {
    //退出
    signout() {
      this.$confirm("退出登录, 是否继续?", "提示", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      }).then(() => {
        this.$router.push({ path: "/" });
      });
    },
    pay(){
      this.$confirm("确认付款?", "提示", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      }).then(() => {
        this.$router.push({ path: "/pay" });
      });
    }
  },
  data(){
      return{
          tableData: [{
            date: '2016-05-02',
            name: '王小虎',
            price:'$ 71',
            content: '好吃的汉堡*2 隔夜的汉堡*3'
          }, {
            date: '2016-05-02',
            name: '王小虎',
            price:'$ 71',
            content: '好吃的汉堡*2 隔夜的汉堡*3'
          }, {
            date: '2016-05-02',
            name: '王小虎',
            price:'$ 71',
            content: '好吃的汉堡*2 隔夜的汉堡*3'
          }, {
            date: '2016-05-02',
            name: '王小虎',
            price:'$ 71',
            content: '好吃的汉堡*2 隔夜的汉堡*3'
          }]
      }
  }
};
</script>
<style scoped>
.el-main{
   background:url('../../assets/images/1.jpg'); 
}
.container {
  height: 100vh;
  font-size: 15px;
}
.header {
  background: #131518;
  color: rgb(255, 255, 255);
}
.aside {
  background: #3a3a3a;
  color: #fff;
  /* height: 100%; */
}
.main {
  /* height: 100%; */
  color: #a50b0b;
}
.headerlogo {
  line-height: 60px;
  margin-top: 10px;
}
.el-breadcrumb{
    margin-bottom: 15px;
    font-size:15px;
}
.rightsection {
  line-height: 60px;
  text-align: center;
}
</style>